package com.lingjtx.common.security.model;


import java.util.List;

public class LoginPo {

    private String smsCode; // 验证码

    private String password;

    /**
     * 身份标识（手机，微信id，邮箱等）
     */
    private String identifier;

    private String username;

    private String nickname;

    /**
     * 用户头像
     */
    private String avatar;

    /**
     * ip地址
     */
    private String ip;

    /**
     * 操作设备平台：1-H5；2-安卓；3-iOS；4-小程序
     */
    private Integer operationDevice;

    /**
     * 设备型号
     */
    private String deviceModel;

    /**
     * 设备唯一id
     */
    private String deviceUid;

    private String qrcodeUid;

    private String wxOpenid; // 微信登录绑定手机号码带回的微信openid

    private String faceid; // 人脸登录绑定手机号码带回的faceid

    private Long companyId;

    // -------------以下参数是在aop中参数传递使用。与客户端传递参数无关---------//
    private String userType;

    private Byte adminAccount;

    // 认证状态：0-不通过；1-已认证；2-审核中
    private Byte certificationStatus;

    private List<String> perms;

    // 1-仅自己，2-本部门，3-自定义，4-全部（数据范围权限从小到大，当该用户有多角色的时候，数据权限选择最大的）
    private Byte scopeType;

    private List<Long> scopeList; // 数据权限，组织/公司/部门的集合

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getOperationDevice() {
        return operationDevice;
    }

    public void setOperationDevice(Integer operationDevice) {
        this.operationDevice = operationDevice;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getDeviceUid() {
        return deviceUid;
    }

    public void setDeviceUid(String deviceUid) {
        this.deviceUid = deviceUid;
    }

    public String getQrcodeUid() {
        return qrcodeUid;
    }

    public void setQrcodeUid(String qrcodeUid) {
        this.qrcodeUid = qrcodeUid;
    }

    public String getWxOpenid() {
        return wxOpenid;
    }

    public void setWxOpenid(String wxOpenid) {
        this.wxOpenid = wxOpenid;
    }

    public String getFaceid() {
        return faceid;
    }

    public void setFaceid(String faceid) {
        this.faceid = faceid;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public Byte getAdminAccount() {
        return adminAccount;
    }

    public void setAdminAccount(Byte adminAccount) {
        this.adminAccount = adminAccount;
    }

    public Byte getCertificationStatus() {
        return certificationStatus;
    }

    public void setCertificationStatus(Byte certificationStatus) {
        this.certificationStatus = certificationStatus;
    }

    public List<String> getPerms() {
        return perms;
    }

    public void setPerms(List<String> perms) {
        this.perms = perms;
    }

    public Byte getScopeType() {
        return scopeType;
    }

    public void setScopeType(Byte scopeType) {
        this.scopeType = scopeType;
    }

    public List<Long> getScopeList() {
        return scopeList;
    }

    public void setScopeList(List<Long> scopeList) {
        this.scopeList = scopeList;
    }
}
